@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);

@font-face {
	font-family: 'codropsicons';
	src:url('../fonts/codropsicons/codropsicons.eot');
	src:url('../fonts/codropsicons/codropsicons.eot?#iefix') format('embedded-opentype'),
		url('../fonts/codropsicons/codropsicons.woff') format('woff'),
		url('../fonts/codropsicons/codropsicons.ttf') format('truetype'),
		url('../fonts/codropsicons/codropsicons.svg#codropsicons') format('svg');
	font-weight: normal;
	font-style: normal;
}

.container > header,
.codrops-top {
	font-family: 'Lato', Arial, sans-serif;
	color: #34495e;
}

.container > header {
    margin: 0 auto;
    padding: 0;
    text-align: center;
    position: relative;
    height: 110px; /* ارتفاع الهيدر */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(110deg, #2f544d, #457b74); /* تدرج خلف الصورة */
}

.container > header {
    margin: 0 auto;
    padding: 20px; /* هامش حول الصورة */
    text-align: center;
    position: relative;
    height: 100px; /* ارتفاع الهيدر */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #3f706a, #243f3c); /* خلفية متدرجة */
}

/* ضبط حجم الصورة وتوسيطها */
.container > header img {
    width: auto;
    max-width: 90%; /* حجم مناسب للهاتف */
    height: auto;
    display: block;
    margin: 0 auto; /* يجعل الصورة في المنتصف */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5); /* ظل للصورة */
    border-radius: 8px; /* حواف ناعمة */
}

/* تحسين التصميم للحواسيب */
@media (min-width: 768px) {
    .container > header {
        height: 150px; /* زيادة ارتفاع الهيدر على الحاسوب */
    }
    .container > header img {
        max-width: 50%; /* تصغير الصورة للحاسوب حتى تظهر الخلفية */
    }
}


.container > header h1 {
	font-size: 2.625em;
	line-height: 1.3;
	margin: 0;
	font-weight: 300;
}

.container > header span {
	display: block;
	font-size: 60%;
	color: #16a085;
	padding: 0 0 0.6em 0.1em;
}

/* Demo Buttons Style */
.codrops-demos {
	padding-top: 1em;
	font-size: 0.9em;
}

.codrops-demos a {
	text-decoration: none;
	outline: none;
	display: inline-block;
	margin: 0.5em;
	font-size: 1.1em;
	padding: 0.7em 1.1em;
	border: 3px solid #16a085;
	color: #16a085;
	font-weight: 700;
}

.codrops-demos a:hover,
.codrops-demos a.current-demo,
.codrops-demos a.current-demo:hover {
	border-color: #fff;
	color: #fff;
}

p.note {
	font-size: 1.1em;
	text-align: center;
	padding: 40px 10px 100px;
	max-width: 700px;
	margin: 0 auto;
	line-height: 1.4;
}

@media screen and (max-width: 25em) {

	.codrops-icon span {
		display: none;
	}

}